package be.felnederlands.client.data;

import java.util.ArrayList;
import java.util.List;

public class WordRepository {

	private static WordRepository wordRepository;
	
	public static WordRepository getInstance(){
		if(wordRepository == null)
			wordRepository = new WordRepository();
		
		return wordRepository;
	}
	
	private static List<Word> words = new ArrayList<Word>();
	
	private WordRepository(){
		words.add(new Word("bla", "blabla", "blablabla"));
		
	}
	
	public void addWord(Word word){
		words.add(word);
	}
	
	public List<Word> getWords(){
		return words;
	}
}
